<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../assets/ico/favicon.ico">
    

    <title>ExiaStore</title>

    <!-- Bootstrap core CSS -->
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="offcanvas.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
  </head>

  <body style="background-color:rgb(180,180,180)">
 
      
     
      
    <?php  
    session_start();
    if(empty($_SESSION['login']))
    include ("navbarVisiteur.php");  
    else
    include ("navbar.php"); 
    ?>
       
      
    <div class="container">
        <div class="jumbotron fiche">
            <h1 id="nomfiche"><?php echo $article->getNomArticle(); ?></h1>
            <div id="imgfiche"><?php echo "<img src='".$article->getPhoto()."' class='image3'></img>"; ?></div></br>
                
            
             <div id="infofiche">Prix : <?php echo $article->getPrix()."€"; ?></br>               
            Auteur : <?php echo $article->getAuteur(); ?></br>
            Editeur : <?php echo $article->getEditeur(); ?></br>            
            Date de sortie :<?php echo $article->getDateEdition(); ?></br>
            Disponibilité : <?php echo $article->getEtatArticle(); ?></br>
            Catégorie : <?php echo $article->getCategorie(); ?></br>
            <div id="description">
            Description : <?php echo $article->getDescription(); ?></br>
            </div>
            </br>
              <div class="col-lg-3 ">
                    <?php if(!empty($_SESSION['login'])){
                    echo "<p><a class='btn btn-default' href='#' role='button'>Ajouter au panier &raquo;</a></p>";} ?>
                </div>
               </div>
           
          </div>
      
      <footer>
        <p>&copy; ExiaStore 2014</p>
      </footer>

    </div><!--/.container-->



    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script src="offcanvas.js"></script>
  </body>
</html>
